package com.ly.heart.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ly.heart.domain.KingDocTypeEntity;

/**
 * 金蝶-财务模块-单据类型Mapper接口
 * @author wutao
 * @date 2024-06-24
 */
public interface KingDocTypeMapper extends BaseMapper<KingDocTypeEntity> {
    /**
     * 查询金蝶-财务模块-单据类型
     * @param id 金蝶-财务模块-单据类型ID
     * @return 金蝶-财务模块-单据类型
     */
    KingDocTypeEntity selectKingDocTypeEntityById (String id);

    /**
     * 查询金蝶-财务模块-单据类型列表
     * @param kingDocTypeEntity 金蝶-财务模块-单据类型
     * @return 金蝶-财务模块-单据类型集合
     */
    List<KingDocTypeEntity> selectKingDocTypeEntityList (KingDocTypeEntity kingDocTypeEntity);

    /**
     * 地柜查询所有的Table数据
     * @param kingDocTypeEntity
     * @return
     */
    List<KingDocTypeEntity> queryTable (KingDocTypeEntity kingDocTypeEntity);

    Integer queryCount (KingDocTypeEntity kingDocTypeEntity);


    /**
     * 新增金蝶-财务模块-单据类型
     * @param kingDocTypeEntity 金蝶-财务模块-单据类型
     * @return 结果
     */
    int insertKingDocTypeEntity (KingDocTypeEntity kingDocTypeEntity);

    /**
     * 修改金蝶-财务模块-单据类型
     * @param kingDocTypeEntity 金蝶-财务模块-单据类型
     * @return 结果
     */
    int updateKingDocTypeEntity (KingDocTypeEntity kingDocTypeEntity);

    /**
     * 删除金蝶-财务模块-单据类型
     * @param id 金蝶-财务模块-单据类型ID
     * @return 结果
     */
    int deleteKingDocTypeEntityById (String id);

    /**
     * 批量删除金蝶-财务模块-单据类型
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    int deleteKingDocTypeEntityByIds (String[] ids);
}
